import request from '@/utils/request'
//请求品牌数据
export const reqTrademarkList=(page,limit)=>request.get(`/admin/product/baseTrademark/${page}/${limit}`)

//修改数据
export const reqUpdateAndAddData=(data)=>{
    if(data.id){
        return request.put('/admin/product/baseTrademark/update',data)
    }
    else{
        return request.post('/admin/product/baseTrademark/save',data)
    }
}
//删除数据
export const reqDeleteTrademark=(id)=>request.delete(`/admin/product/baseTrademark/remove/${id}`)


